package oops.polymorphism;

public class PolyDemo {

	public static void main(String[] args) {
		
		HelloWorld customWorld = new MyCustomWorldImpl();
		customWorld.sayHello();
		customWorld.sayHello("David");
		
		
		HelloWorld regularWorld = new HelloWorldImpl();
		regularWorld.sayHello();

	}

}
